package com.daiziru.wuyanmall.dao;

import com.daiziru.wuyanmall.entity.ProductSku;
import com.daiziru.wuyanmall.general.GeneralDAO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ProductSkuMapper extends GeneralDAO<ProductSku> {

    /**
     * 根据商品id查询该商品的最低售价的商品
     * @param productId
     * @return
     */
    public List<ProductSku> selectLowestPriceByProductId(String productId);
}